<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页</title>
</head>
<body>
    <%
        /*Object username = request.getSession().getAttribute("username");
        if(username == null){
            pageContext.forward("login.jsp");
        }*/
    %>

    <h1>我是主页</h1>
    <a href="${pageContext.request.contextPath}/logout">登出</a>
</body>
</html>
